package deibay.server.eventargs;

import java.util.Date;

import deibay.datamodel.Category;
import deibay.datamodel.Item;
import deibay.users.User;

/**
 * @author   Joel Cordeiro
 */
public class NewItemEventArg extends EventArg{
	
	private String name = "";
	private String description = "";
	private Category category = null;
	private int price = 0;
	private Date date = null; 

	public NewItemEventArg(User user, String name, String description, Category category, int price, Date date) {
		super(user);
		this.name = name;
		this.description =description;
		this.category = category;
		this.price = price;
		this.date = date;
	}

	public Category getCategory() {
		return category;
	}

	public Date getDate() {
		return date;
	}

	public String getDescription() {
		return description;
	}

	public String getName() {
		return name;
	}

	public int getPrice() {
		return price;
	}
}
